from toolsSrc.status.status import Status
from torqueSrc.torqueHis.initData import initData
from torqueSrc.torqueHis.cleanProcess import cleanProcess
from torqueSrc.torqueHis.lambdaOptProcess import lambdaOptProcess
from torqueSrc.torqueHis.lambdaOptCompareProcess import lambdaOptCompareProcess

@Status.changeDBStatus('torque',3,1)
@Status.changeStatus(3,1)
def torqueHis():
    initData()
    cleanProcess()
    lambdaOptProcess()
    lambdaOptCompareProcess()


if __name__ == '__main__':
    torqueHis()
